﻿using System;
using System.Windows.Forms;

namespace RestaurantPOSManager
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        private void CmdGoiMonClick(object sender, EventArgs e)
        {
            var frmMakeBill = new FrmMakeBill();
            //frmMakeBill.MdiParent = this;
            if (frmMakeBill.ShowDialog() == DialogResult.OK)
            {
                CmdGoiMonClick(sender, e);
            }
        }

        private void cmdFoodManager_Click(object sender, EventArgs e)
        {
            FrmFoodManager frmFoodManager = new FrmFoodManager();
            frmFoodManager.ShowDialog();
        }
    }
}
